﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>打印当前页</title>
    <script type="text/javascript" language="JavaScript">
        if (window.print) {
            document.write('<form>'+ '<input type=button name=print value="打印页面" '
                + 'onClick="javascript:window.print()"></form>');
        }

    </script>
</head>
<body>

</body>
</html>